package com.i360day.redis.listener.vo;

import java.io.Serializable;

/**
 * @description: redis返回通知
 * @author: liju.z
 * @create: 2020-07-14 10:19
 **/
public class RedisResult implements Serializable {
    public RedisResult() {
    }

    public RedisResult(boolean success, String errorMsg) {
        this.success = success;
        this.errorMsg = errorMsg;
    }

    private Boolean success;
    private String errorMsg;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
